#!/bin/bash
host_file=./gateway.list

for i in `cat $host_file`;
do
    printf "%s, %s\n" $i
    curl -s "$i/proc/transfer/pools"
    printf "\n"
    sleep 0.1
done
